import GameMainEntry from "./GameMain/Base/GameMainEntry";



const {ccclass, property} = cc._decorator;
@ccclass
export default class Helloworld extends cc.Component {

    @property(cc.Label)
    label: cc.Label = null;

    @property
    text: string = 'hello';
    start () {
        cc.log("hello world")
        this.scheduleOnce((dt)=>{
            GameMainEntry.Resource.loadJsonAsset("config/test",(err,txt)=>{
                if(txt instanceof cc.JsonAsset){
                    cc.log(txt.json);
                }
            })

        },0.5)



        // init logic
        //this.label.string = this.text;
    }
}
